import React from "react";
import LayoutProvider from "./context/layout-provider";
import { Toast } from "@nutui/nutui-react-taro";
// 全局样式
import "./app.scss";

function App({ children }: { children: React.ReactNode }) {
  return (
    <LayoutProvider>
      <Toast id="toast" />
      {children}
    </LayoutProvider>
  );
}

export default App;
